package com.csun.cmny.provider.model.domain;

import javax.persistence.*;

@Table(name = "cn_dmc_watch_oldman")
public class DmcWatchOldman {
    /**
     * 设备Id
     */
    @Id
    @Column(name = "device_id")
    private Long deviceId;

    /**
     * 老人Id
     */
    @Id
    @Column(name = "oldman_id")
    private Integer oldmanId;

    /**
     * 老人名称
     */
    @Column(name = "oldman_name")
    private String oldmanName;

    /**
     * 获取设备Id
     *
     * @return device_id - 设备Id
     */
    public Long getDeviceId() {
        return deviceId;
    }

    /**
     * 设置设备Id
     *
     * @param deviceId 设备Id
     */
    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    /**
     * 获取老人Id
     *
     * @return oldman_id - 老人Id
     */
    public Integer getOldmanId() {
        return oldmanId;
    }

    /**
     * 设置老人Id
     *
     * @param oldmanId 老人Id
     */
    public void setOldmanId(Integer oldmanId) {
        this.oldmanId = oldmanId;
    }

    /**
     * 获取老人名称
     *
     * @return oldman_name - 老人名称
     */
    public String getOldmanName() {
        return oldmanName;
    }

    /**
     * 设置老人名称
     *
     * @param oldmanName 老人名称
     */
    public void setOldmanName(String oldmanName) {
        this.oldmanName = oldmanName;
    }
}